import { Attrbiute, AttributeValue } from '@/api/attribute/type'
import { Category } from '@/api/category/type'
import { Menu } from '@/api/menu/type'
import { UserInfo } from '@/api/user/type'

export interface UserState {
  token?: string | null
  userInfo?: UserInfo | null
}

export interface MenuState {
  menuList?: Menu[] | null
}

export interface CategoryState {
  category1: Category[]
  category2: Category[]
  category3: Category[]
  c1Id?: number
  c2Id?: number
  c3Id?: number
  attributes: Attrbiute[]
  attributeInfo: Attrbiute
  attributeValue: AttributeValue[]
}
